home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programmierung
/
Power-Programmierung (Tewi)(1994).iso
/
magazine
/
nan_news
/
toolkit
/
fthdr.sam
< prev
next >
Wrap
Text File
|
1991-06-14
|
1KB
|
50 lines
/*
* File......: PRTSCR.C
* Author....: Ted Means
* Date......: $Date$
* Revision..: $Revision$
* Log file..: $Logfile$
*
* This is an original work by Ted Means and is placed in the
* public domain.
*
* Modification history:
* ---------------------
*
* $Log$
*
*/
/* $DOC$
* $FUNCNAME$
* FT_PrtScr()
* $CATEGORY$
* To be assigned
* $ONELINER$
* Enable or disable printscreens.
* $SYNTAX$
* FT_PrtScr( <lSetStat> ) -> <lCurStat>
* $ARGUMENTS$
* <lSetStat> set to .t. will enable printscreens, .f. will disable
* printscreens.
* $RETURNS$
* The current state ( .t. for enabled, .f. for disabled).
* $DESCRIPTION$
* This function is valuable if you have a need to disable the
* printscreen key. It works by fooling the BIOS into thinking that
* a printscreen is already in progress. The BIOS will then refuse
* to invoke the printscreen handler.
* $EXAMPLES$
* FT_PrtScr( .F. ) && Disable the printscreen key
* FT_PrtScr( .T. ) && Enable the printscreen key
* MemVar := FT_PrtScr() && Get the current status
* $SEEALSO$
* ft_peek() ft_poke() ft_whatever()
* $INCLUDE$
*
* $END$
*/